home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / New System Software Extensions / QuickDraw™ GX v1.0ß2 / Interfaces & Libraries / interfaces / graphics state library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-29  |  863 b   |  25 lines  |  [TEXT/MPS ]

  1. /* graphics libraries:
  2.     graphics state routines 
  3.     by Cary Clark, Georgiann Delaney, Michael Fairman, Dave Good, Robert Johnson, Keith McGreggor, Oliver Steele, David Van Brink, Chris Yerga
  4.     Copyright 1987 - 1991 Apple Computer, Inc.  All rights reserved.    */
  5.  
  6. #pragma once
  7. #ifndef graphicsStateLibraryIncludes
  8. #define graphicsStateLibraryIncludes
  9.     #ifndef graphicsTypesIncludes
  10.         #include "graphics types.h"
  11.     #endif
  12.     
  13.     typedef struct graphicsStateRecord {
  14.         gxShape defaultShapes[gxPictureType - 1];
  15.     } graphicsStateRecord, *graphicsState;
  16.     
  17.     extern graphicsState lastGraphicsState;
  18.     
  19.     graphicsState NewGraphicsState(void);
  20.     void DisposeGraphicsState(graphicsState);
  21.     void GetGraphicsState(graphicsState);
  22.     void SetGraphicsState(graphicsState);
  23.     graphicsState SwapGraphicsState(graphicsState);
  24. #endif
  25.